#pragma once
#include "IInfo.h"
#include "IData.h"

class File : public IInfo
{
public:
	File(char* _fileName);
	~File(void);

	bool get(char* id, IData* data);
	bool set(IData*);

private:
	static const char recordSeparator = 0x1E;
	static const char unitSeparator = 0x1F;
	char* fileName;
};

